package com.tensquare.user.service;

import com.tensquare.user.dao.UserDao;
import com.tensquare.user.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author ：zboy
 * @date ：
 * @description ：
 * @version: 1.0
 */
@Service
public class UserService {
    @Autowired
    private UserDao userDao;

    public User findById(String id){
        return userDao.selectById(id);
    }

}
